//
//  ReadCell.m
//  Leisure
//
//  Created by xalo on 16/6/29.
//  Copyright © 2016年 朱旭东. All rights reserved.
//

#import "ReadCell.h"
@interface ReadCell ()
@property (weak, nonatomic) IBOutlet UIImageView *covrimg;//背景图片

@property (weak, nonatomic) IBOutlet UILabel *name;//题目
@end

@implementation ReadCell

- (void)awakeFromNib {
    
    
}

//根据modellai设置cell的显示
- (void)setCellWIthModel:(ReadModel *)mode{
    self.name.text = mode.name;
    [self.covrimg sd_setImageWithURL:[NSURL URLWithString:mode.coverimg]];
    NSLog(@"%@",self.name.text);
}




@end
